# $Id: PKGBUILD 66025 2012-02-22 14:43:15Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-datetime-format-ical
pkgver=0.09
pkgrel=3
pkgdesc="Perl/CPAN Module DateTime::Format::ICal"
arch=("any")
url="http://search.cpan.org/dist/DateTime-Format-ICal"
license=("GPL" "PerlArtistic")
makedepends=("perl-datetime-timezone" "perl-datetime-event-ical" "perl-datetime" "perl-params-validate" "perl-datetime-set")
depends=("perl-datetime-timezone" "perl-datetime-event-ical" "perl-datetime" "perl-params-validate" "perl-datetime-set")
source=("http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-ICal-$pkgver.tar.gz")
md5sums=('17bb64bfb515f2db365ba5bb5a68a143')

build() {
  cd $srcdir/DateTime-Format-ICal-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
